package com.itheima;

public class Demo02GetOu {
    public static void main(String[] args) {
        boolean result=GetOu(13);
        System.out.println("这个数是偶数？"+result);
        System.out.println("------------");
        int n=30;
        boolean sum=GetOu(n);
        System.out.println("这个数是偶数？" +sum);
    }

    public static boolean GetOu(int a) {
        boolean sum = (a % 2 == 0) ? true : false;
        return sum;
    }
}
